package com.cqupt.scanning.system.file.helper;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 *  路径、文件名配置类
 * @Data: 2021/7/6 22:31
 * @Author: 宋宝梁
 */
@Data
@Configuration
public class FilePathConfig {

    /**
     * 静态模式PDF模板
     */
    @Value("#{'J.pdf'}")
    private String templatePDF1;

    /**
     * 动态模式PDF模板
     */
    @Value("#{'D.pdf'}")
    private String templatePDF2;

    /**
     * 三维扫描PDF模板
     */
    @Value("#{'NewThree.pdf'}")
    private String templatePDF3;

    /**
     * 步态分析模板
     */
    @Value("#{'template-gait.pdf'}")
    private String gaitTemplate;

    /**
     * 平衡分析模板
     */
    @Value("#{'template-balance.pdf'}")
    private String balanceTemplate;

    /**
     * 足底扫描生成报告保存根目录
     */
    @Value("#{'report-foot'}")
    private String outFileFootRootDirectory;

    /**
     * 三维扫描生成报告保存根目录
     */
    @Value("#{'report-three'}")
    private String outFileThreeRootDirectory;

    /**
     * 足底扫描上传文件保存根目录
     */
    @Value("#{'file-foot'}")
    private String saveFootFilePath;

    /**
     * 三维扫描上传文件保存根目录
     */
    @Value("#{'file-three'}")
    private String saveThreeFilePath;

    /**
     * ModBus文件保存路径
     */
    @Value("#{'ModBusFile'}")
    private String saveModBusFilePath;

    /**
     * 足底扫描生成报告产生临时图片的根目录
     */
    @Value("#{'tempImage'}")
    private String tempImageDir;


    /**
     * 医院图标
     */
    @Value("#{'organization-picture'}")
    private String orgPictureDir;

    /**
     * 步态、平衡PDF的logo
     */
    @Value("#{'logoOne'}")
    private String imageName68;
//    @Value("#{'src/main/resources/static/ZhongYiGuKe.jpg'}")
//    @Value("#{'src/main/resources/static/childOrg.png'}")
//    private String templateLog;
//    @Value("#{'tempImage/logoOne.jpg'}")
//    private String imagePath68;

    @Value("#{'logoTwo'}")
    private String imageName69;
//    @Value("#{'tempImage/logoTwo.jpg'}")
//    private String imagePath69;

    /**
     * 步态分析图片
     */
    @Value("#{'imageLeft'}")
    private String imageName1;
    @Value("#{'tempImage/l.jpg'}")
    private String imagePath1;

    @Value("#{'imageRight'}")
    private String imageName2;
    @Value("#{'tempImage/r.jpg'}")
    private String imagePath2;

    @Value("#{'triangle0'}")
    private String imageName6;
    @Value("#{'tempImage/triangle0.jpg'}")
    private String imagePath6;

    @Value("#{'triangle1'}")
    private String imageName14;
    @Value("#{'tempImage/triangle1.jpg'}")
    private String imagePath14;

//    @Value("#{'triangleLeftMax'}")
//    private String imageName7;
//    @Value("#{'tempImage/triangleLeftMax.jpg'}")
//    private String imagePath7;
//
//    @Value("#{'triangleRightMax'}")
//    private String imageName9;
//    @Value("#{'tempImage/triangleRightMax.jpg'}")
//    private String imagePath9;

    @Value("#{'MaxFPAleft'}")
    private String imageName15;
    @Value("#{'tempImage/MaxFPAleft.jpg'}")
    private String imagePath15;

    @Value("#{'MaxFPAright'}")
    private String imageName16;
    @Value("#{'tempImage/MaxFPAright.jpg'}")
    private String imagePath16;

    @Value("#{'MinFPAleft'}")
    private String imageName17;
    @Value("#{'tempImage/MinFPAleft.jpg'}")
    private String imagePath17;

    @Value("#{'MinFPAright'}")
    private String imageName26;
    @Value("#{'tempImage/MinFPAright.jpg'}")
    private String imagePath26;

    @Value("#{'copLeft'}")
    private String imageName3;
    @Value("#{'tempImage/copLeft.jpg'}")
    private String imagePath3;

    @Value("#{'copRight'}")
    private String imageName4;
    @Value("#{'tempImage/copRight.jpg'}")
    private String imagePath4;

    @Value("#{'fpaL'}")
    private String imageName5;
    @Value("#{'tempImage/fpaL.jpg'}")
    private String imagePath5;

    @Value("#{'fpaR'}")
    private String imageName12;
    @Value("#{'tempImage/fpaR.jpg'}")
    private String imagePath12;


    /**
     * 平衡检测分析图片
     */
    @Value(("#{'averagePercentage'}"))
    private String imageName30;
    @Value("#{'tempImage/average-percentage.jpg'}")
    private String imagePath30;

    @Value("#{'averagePressure'}")
    private String imageName31;
    @Value("#{'tempImage/average-pressure.jpg'}")
    private String imagePath31;

    @Value("#{'foreFoot'}")
    private String imageName32;
    @Value("#{'tempImage/foreFoot.jpg'}")
    private String imagePath32;

    @Value("#{'hindFoot'}")
    private String imageName33;
    @Value("#{'tempImage/hindFoot.jpg'}")
    private String imagePath33;

    @Value("#{'midFoot'}")
    private String imageName34;
    @Value("#{'tempImage/midFoot.jpg'}")
    private String imagePath34;

    @Value("#{'offset'}")
    private String imageName58;
    @Value("#{'tempImage/offset.jpg'}")
    private String imagePath58;

    @Value("#{'leftOffset'}")
    private String imageName61;
    @Value("#{'tempImage/leftOffset.jpg'}")
    private String imagePath61;

    @Value("#{'rightOffset'}")
    private String imageName62;
    @Value("#{'tempImage/rightOffset.jpg'}")
    private String imagePath62;

    @Value("#{'otherForeFoot'}")
    private String imageName35;
    @Value("#{'tempImage/otherForeFoot.jpg'}")
    private String imagePath35;

    @Value("#{'otherHindFoot'}")
    private String imageName36;
    @Value("#{'tempImage/otherHindFoot.jpg'}")
    private String imagePath36;

    @Value("#{'leftForeHind'}")
    private String imageName63;
    @Value("#{'tempImage/leftForeHind.jpg'}")
    private String imagePath63;

    @Value("#{'rightForeHind'}")
    private String imageName64;
    @Value("#{'tempImage/rightForeHind.jpg'}")
    private String imagePath64;

    @Value("#{'foreHind'}")
    private String imageName10;
    @Value("#{'tempImage/foreHind.jpg'}")
    private String imagePath10;

    @Value("#{'inside'}")
    private String imageName37;
    @Value("#{'tempImage/inside.jpg'}")
    private String imagePath37;

    @Value("#{'outside'}")
    private String imageName38;
    @Value("#{'tempImage/outside.jpg'}")
    private String imagePath38;

    @Value("#{'inoutLeft'}")
    private String imageName66;
    @Value("#{'tempImage/inoutLeft.jpg'}")
    private String imagePath66;

    @Value("#{'inoutRight'}")
    private String imageName67;
    @Value("#{'tempImage/inoutRight.jpg'}")
    private String imagePath67;

    @Value("#{'inout'}")
    private String imageName11;
    @Value("#{'tempImage/inout.jpg'}")
    private String imagePath11;

    @Value("#{'pressure'}")
    private String imageName8;
    @Value("#{'tempImage/pressure.jpg'}")
    private String imagePath8;

    @Value("#{'weightPercentage'}")
    private String imageName39;
    @Value("#{'tempImage/weightPercentage.jpg'}")
    private String imagePath39;

    @Value("#{'leftPressureOnedataFFT'}")
    private String imageName40;
    @Value("#{'tempImage/leftPressureOnedataFFT.jpg'}")
    private String imagePath40;

    @Value("#{'leftPressureTwodataFFT'}")
    private String imageName41;
    @Value("#{'tempImage/leftPressureTwodataFFT.jpg'}")
    private String imagePath41;

    @Value("#{'leftPressureThreedataFFT'}")
    private String imageName42;
    @Value("#{'tempImage/leftPressureThreedataFFT.jpg'}")
    private String imagePath42;

    @Value("#{'leftPressureFourdataFFT'}")
    private String imageName43;
    @Value("#{'tempImage/leftPressureFourdataFFT.jpg'}")
    private String imagePath43;

    @Value("#{'leftPressureFivedataFFT'}")
    private String imageName44;
    @Value("#{'tempImage/leftPressureFivedataFFT.jpg'}")
    private String imagePath44;

    @Value("#{'leftPressureSixdataFFT'}")
    private String imageName45;
    @Value("#{'tempImage/leftPressureSixdataFFT.jpg'}")
    private String imagePath45;

    @Value("#{'leftPressureSevendataFFT'}")
    private String imageName46;
    @Value("#{'tempImage/leftPressureSevendataFFT.jpg'}")
    private String imagePath46;

    @Value("#{'leftPressureEightdataFFT'}")
    private String imageName47;
    @Value("#{'tempImage/leftPressureEightdataFFT.jpg'}")
    private String imagePath47;

    @Value("#{'leftPressureNinedataFFT'}")
    private String imageName48;
    @Value("#{'tempImage/leftPressureNinedataFFT.jpg'}")
    private String imagePath48;

    @Value("#{'rightPressureOnedataFFT'}")
    private String imageName49;
    @Value("#{'tempImage/rightPressureOnedataFFT.jpg'}")
    private String imagePath49;

    @Value("#{'rightPressureTwodataFFT'}")
    private String imageName50;
    @Value("#{'tempImage/rightPressureTwodataFFT.jpg'}")
    private String imagePath50;

    @Value("#{'rightPressureThreedataFFT'}")
    private String imageName51;
    @Value("#{'tempImage/rightPressureThreedataFFT.jpg'}")
    private String imagePath51;

    @Value("#{'rightPressureFourdataFFT'}")
    private String imageName52;
    @Value("#{'tempImage/rightPressureFourdataFFT.jpg'}")
    private String imagePath52;

    @Value("#{'rightPressureFivedataFFT'}")
    private String imageName53;
    @Value("#{'tempImage/rightPressureFivedataFFT.jpg'}")
    private String imagePath53;

    @Value("#{'rightPressureSixdataFFT'}")
    private String imageName54;
    @Value("#{'tempImage/rightPressureSixdataFFT.jpg'}")
    private String imagePath54;

    @Value("#{'rightPressureSevendataFFT'}")
    private String imageName55;
    @Value("#{'tempImage/rightPressureSevendataFFT.jpg'}")
    private String imagePath55;

    @Value("#{'rightPressureEightdataFFT'}")
    private String imageName56;
    @Value("#{'tempImage/rightPressureEightdataFFT.jpg'}")
    private String imagePath56;

    @Value("#{'rightPressureNinedataFFT'}")
    private String imageName57;
    @Value("#{'tempImage/rightPressureNinedataFFT.jpg'}")
    private String imagePath57;



    @Value("#{'weightPercentage_left'}")
    private String imageName59;
    @Value("#{'tempImage/weightPercentage_left.jpg'}")
    private String imagePath59;

    @Value("#{'weightPercentage_right'}")
    private String imageName60;
    @Value("#{'tempImage/weightPercentage_right.jpg'}")
    private String imagePath60;

    /**
     * 三维扫描图片字段名
     */
    @Value("#{'leftindex'}")
    private String imageName18;
    @Value("#{'rightindex'}")
    private String imageName19;
    @Value("#{'lArchImg'}")
    private String imageName20;
    @Value("#{'rArchImg'}")
    private String imageName21;
    @Value("#{'footDataL1'}")
    private String imageName22;
    @Value("#{'footDataR1'}")
    private String imageName23;
    @Value("#{'footDataL2'}")
    private String imageName24;
    @Value("#{'footDataR2'}")
    private String imageName25;
}
